<!DOCTYPE html>
<html>
<head>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> 
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/jsp/head.jsp"%>
<link rel="stylesheet" href="${pageContext.request.contextPath}/static/js/lib/bootstrap/css/bootstrap-table.css">
<link rel="stylesheet" href="${pageContext.request.contextPath}/static/js/lib/bootstrap/css/bootstrap-responsive.css">
<script src="${pageContext.request.contextPath}/static/js/lib/bootstrap/js/bootstrap-table.js"></script>
<script src="${pageContext.request.contextPath}/static/js/lib/bootstrap/js/bootstrap-modal.js"></script>
<script src="${pageContext.request.contextPath}/static/js/lib/bootstrap/js/bootstrap-dialog.js"></script>
<script src="${pageContext.request.contextPath}/static/js/data/user.js"></script>
<script type="text/javascript">
var name = "${param.name}";
var value = "${param.value}";
$(function () {
	var iframe = $("iframe",$(window.parent.document));
	var data = iframe.attr('data');
    $('#simpleTable').BootstrapTable({
		columns: [
			{display : '登录名11', name: 'loginName'},
			{display : '姓名', name: 'userName'},
			{display : '电话', name: 'userPhone'},
			{display : '移动电话', name: 'userMPhome'},
			{display : '电子邮箱', name: 'userEmail'},
		],
		data: user,
		usePager: false
	});
});

</script>
</head>

<body>       
    <div id="simpleTable"></div>
</body>

</html>